<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/layouts/taglib.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>${displayName}详情</title>
		<link rel="stylesheet" href="${r'${staticPath}'}/admin/tcsf/reset.css" />
		<link href="${r'${staticPath}'}/admin/iconfont/iconfont.css" type="text/css" rel="stylesheet" />
		<link rel="stylesheet" href="${r'${staticPath}'}/admin/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
		<link rel="stylesheet" href="${r'${staticPath}'}/admin/tcsf/tcsf.panel.css" />
		<link rel="stylesheet" href="${r'${staticPath}'}/admin/tcsf/content.css" />
		<style type="text/css">
		.detail-label {font-weight:normal;}
		</style>
		<script src="${r'${staticPath}'}/admin/tcsf/jquery.min.js"></script>
		<script src="${r'${staticPath}'}/admin/lib/jquery.form/messages_zh.js"></script>
		<script type="text/javascript" src="${r'${staticPath}'}/admin/lib/bootstrap-3.3.7-dist/js/bootstrap.min.js" ></script>
		<script type="text/javascript" src="${r'${staticPath}'}/admin/tcsf/content.js" ></script>
	</head>
	<body>

		<div class="create-page tpanel">
			<div class="panel-content">
				<div class="container-fluid">
			
					<form id="createForm" class="form-horizontal">
						<#list fields as field>  
						<#if field.displayField>
						<div class="form-group<#if field_index == 0> form-group-first</#if>">
							<label class="col-sm-2 control-label">${field.displayName}</label>
							<div class="col-sm-8">
								<label class="control-label detail-label">
								<#if field.jdbcDataType == "Date">
								<fmt:formatDate value="${r'${entity.'}${field.propertyName}}" pattern="${field.timeFormat}" />
								<#else>
								${r'${entity.'}${field.propertyName}}
								</#if>
								</label>
							</div>
						</div>
						</#if>
						</#list>  
					  	
					</form>
				
				</div>
			</div>
		</div>
	</body>
</html>
